package com.vainycos.core.feign.customer;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "customer")
public interface CustomerService {

    @GetMapping("/customer/getUser/{id}")
    String getCustomerById(@PathVariable("id") Integer id);
}
